package com.booking.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author Qikai.Lin
 * @date 2023/4/23
 */
@Data
@TableName("room_order")
public class RoomOrder extends BaseOrder implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 房间id
     */
    private Long roomId;
    /**
     * 入住日期
     */
    private LocalDateTime checkInDate;
    /**
     * 退订日期
     */
    private LocalDateTime checkOutDate;
    /**
     * 预订天数
     */
    private Integer bookingDays;
    /**
     * 入住状态
     */
    private String checkStatus;

}
